package cn.credit.loan.service.loanapplication;

import java.util.List;

import cn.credit.loan.entity.Loanapplication;

public interface LoanapplicationService {
	/**
	 * 查看所有的申请贷款信息列表
	 * @param loanapplication
	 * @return
	 */
	public List<Loanapplication> getLoanAppLicationList(Loanapplication loanapplication)throws Exception;
	
	/**
	 * 客户申请贷款信息
	 * @param loanapplication
	 * @return
	 * @throws Exception
	 */
	public Boolean addLoanApp(Loanapplication loanapplication)throws Exception;
	
	/**
	 * 删除申请贷款信息
	 * @param loanId
	 * @return
	 * @throws Exception
	 */
	public boolean deleteLoanapp(int loanId)throws Exception;
	
	/**
	 * 修改贷款申请
	 * @param loanId
	 * @param loanType
	 * @return
	 */
	public boolean updateByLoan(String loanId,String loanType)throws Exception;
}
